package com.tqz.event;

/**
 * <p>
 *
 * @author tianqingzhao
 * @since 2021/6/8 16:37
 */
public class UserListener implements ApplicationListener<UserEvent> {

    @Override
    public void onApplicationEvent(UserEvent event) {
        try {
            Thread.sleep(50000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        System.out.println("处理的用户事件: " + event.getName());
    }
}
